"use strict";
exports.__esModule = true;
var vue_1 = require("vue");
var App_vue_1 = require("./App.vue");
var router_1 = require("./router");
var store_1 = require("./store");
require("./styles/index.scss");
require("@/styles/color/index.scss");
var element_plus_1 = require("element-plus");
require("element-plus/lib/theme-chalk/index.css");
// 国际化
var vue_i18n_1 = require("vue-i18n");
var language_1 = require("@/utils/language");
//阿里图标
require("@/components/svg/svg");
var svg_vue_1 = require("@/components/svg/svg.vue");
require("xe-utils");
var vxe_table_1 = require("vxe-table");
require("vxe-table/lib/style.css");
var i18n = (0, vue_i18n_1.createI18n)({
    locale: "zh-CN",
    messages: language_1["default"]
});
function useTable(app) {
    app.use(vxe_table_1["default"]);
    // 给 vue 实例挂载内部对象，例如：
    // app.config.globalProperties.$XModal = VXETable.modal
    // app.config.globalProperties.$XPrint = VXETable.print
    // app.config.globalProperties.$XSaveFile = VXETable.saveFile
    // app.config.globalProperties.$XReadFile = VXETable.readFile
}
(0, vue_1.createApp)(App_vue_1["default"])
    .use(store_1["default"])
    .use(router_1["default"])
    .use(element_plus_1["default"])
    .use(i18n)
    .use(useTable)
    .component('icons', svg_vue_1["default"])
    .mount("#app");
//     const app=createApp(App);
// app.component('icons', icons) 
